package com.xc.h05.service.wutao.impl;


import com.xc.h05.entity.Consultcertificate;
import com.xc.h05.mapper.ConsultcertificateMapper;
import com.xc.h05.service.wutao.ConsultcertificateServic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConsultcertificateServiceImpl  implements ConsultcertificateServic {
    @Autowired
    ConsultcertificateMapper consultcertificateMapper;
    @Override
    public List<Consultcertificate> findAll() {
        List<Consultcertificate> list = consultcertificateMapper.findAll();
        return list;
    }

    @Override
    public Consultcertificate findById(Integer id) {
        Consultcertificate consultcertificate = consultcertificateMapper.findById(id);
        return consultcertificate;
    }
}
